home *** CD-ROM | disk | FTP | other *** search
/ Ian & Stuart's Australian Mac: Not for Sale / Another.not.for.sale (Australia).iso / hold me in your arms / PGP 2.6 / rsaref Toolkit / test / global.h < prev    next >
C/C++ Source or Header  |  1992-02-29  |  908b  |  36 lines

  1. /* GLOBAL.H - RSAREF types and constants
  2.  */
  3.  
  4. /* Copyright (C) 1991-2 RSA Laboratories, a division of RSA Data
  5.    Security, Inc. All rights reserved.
  6.  */
  7.  
  8. /* PROTOTYPES should be set to one if and only if the compiler supports
  9.      function argument prototyping.
  10.    The following makes PROTOTYPES default to 0 if it has not already been
  11.      defined with C compiler flags.
  12.  */
  13. #ifndef PROTOTYPES
  14. #define PROTOTYPES 0
  15. #endif
  16.  
  17. /* POINTER defines a generic pointer type */
  18. typedef unsigned char *POINTER;
  19.  
  20. /* UINT2 defines a two byte word */
  21. typedef unsigned short int UINT2;
  22.  
  23. /* UINT4 defines a four byte word */
  24. typedef unsigned long int UINT4;
  25.  
  26. /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
  27.    If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
  28.      returns an empty list.  
  29.  */
  30. #if PROTOTYPES
  31. #define PROTO_LIST(list) list
  32. #else
  33. #define PROTO_LIST(list) ()
  34. #endif
  35.  
  36.